cod_kill_player

Syntax

native Float:cod_kill_player(killer, victim, damageBits);

Usage

attacker
Killer index
victim
Victim index
damageBits
Damage flags in DMG_* format

Description

Kills a player imitating kill by another player.

Note

Uses cod_inflict_damage with DMG_KILL flag.

Returns

COD_BLOCK (-1.0)